package test;

import org.springframework.stereotype.Component;

@Component("2")
public class Truck implements Car{
    public void driver() {
        System.out.println("开卡车");
    }
}
